package org.sdau.rotten.library.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoBookException extends RuntimeException{
    private Integer code;
    private String msg;


    public NoBookException(String message) {
        super(message);
    }

    public NoBookException(String message, Throwable cause) {
        super(message, cause);
    }

    public NoBookException(Throwable cause) {
        super(cause);
    }

    public NoBookException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
